/check_shift
Request body: empty JSON object {} is acceptable.
Success response:
| Field | Type | Required | Notes |
|---|---|---|---|
shiftID | integer (int32) | No | Shift id |
isShiftOpen | string | No | See value map below |
shiftStatus | integer (int32) | No | See value map below |
shiftOpenAt | string | No | Shift open time |
cash | integer (int64) | No | Current cash balance |
Specific values:
isShiftOpen = "true": shift is open.isShiftOpen = "false": shift is closed.shiftStatus = 1: shift is open.shiftStatus = 2: shift is closed.